<?php

class contentTable extends Doctrine_Table
{
    public function getMenu(){
        $q = $this->createQuery('a')->select('a.title')->where('a.published = ? ', true)->andWhere('a.title != ?', 'home')->orderBy('a.ordering ASC')->execute();
        return $q;
    }
}
